/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Behavioral.ChainOfResponsibily;

/**
 *
 * @author alumno
 */
public class Director implements IAprobador{
    private IAprobador next;
    
    public IAprobador getNext()
    {
        return next;
    }
    
    public void solicitudPrestamo(int monto)
    {
        if (monto >= 100000)
            System.out.println("Yo");
    }

    
    @Override
    public void setNext(IAprobador a) {
       
    }
}
